package camel.corp.universalcopy.screenshot;

import android.media.ImageReader;
import com.camel.corp.universalcopy.screenshot.ScreenshotActivity;
import com.camel.corp.universalcopy.screenshot.a;

class a implements ImageReader.OnImageAvailableListener {
  private a(ScreenshotActivity paramScreenshotActivity) {}
  
  public void onImageAvailable(ImageReader paramImageReader) {
    try {
      ScreenshotActivity.a(this.a, paramImageReader.acquireLatestImage());
      if (ScreenshotActivity.b(this.a) != null)
        ScreenshotActivity.d(this.a); 
      if (ScreenshotActivity.c(this.a) > 7) {
        ScreenshotActivity.e(this.a);
        return;
      } 
      if (ScreenshotActivity.b(this.a) != null) {
        ScreenshotActivity.b(this.a).close();
        return;
      } 
    } catch (Exception paramImageReader) {
      paramImageReader.printStackTrace();
      if (ScreenshotActivity.c(this.a) > 7) {
        ScreenshotActivity.e(this.a);
        return;
      } 
      if (ScreenshotActivity.b(this.a) != null) {
        ScreenshotActivity.b(this.a).close();
        return;
      } 
    } finally {}
  }
}


/* Location:              D:\Users\alienware\AndroidStudioProjects\Lazero\sample\sampler\classes-dex2jar\com\camel.jar!\camel\cor\\universalcopy\screenshot\ScreenshotActivity$a.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.0.7
 */